﻿using Microsoft.AspNetCore.Mvc.Razor.Internal;
using Abp.AspNetCore.Mvc.Views;
using Abp.Runtime.Session;

namespace NetCore.Web.Views
{
    /// <summary>
    /// 前端页面的父类
    /// </summary>
    /// <typeparam name="TModel"></typeparam>
    public abstract class NetCoreRazorPage<TModel> : AbpRazorPage<TModel>
    {
        [RazorInject]
        public IAbpSession AbpSession { get; set; }

        protected NetCoreRazorPage()
        {
            LocalizationSourceName = NetCoreConsts.LocalizationSourceName;
        }
    }
}
